

from django.contrib import admin

from zanhu02.messager.models import Message


# Register your models here.
class MessageAdmin(admin.ModelAdmin):

    list_display = ['sender','recipient','message','unread']
    fields = ['sender','recipient','message','unread']

admin.site.register(Message,MessageAdmin)
